The 68000 assembly code of Darin Wayrynen from the file ST_UNZIP.ZIP was used in UnZip 2.0 (modified to avoid trashing of register D3). The full text of the original files ΓÇ£CRC32.HΓÇ¥ and ΓÇ£CRC32.CΓÇ¥ from ST_UNZIP.ZIP follow:
CRC32.H:
long crc32val;
/*#ifndef TEST
extern void UpdateCRC();
#endif*/
/* update running CRC calculation with contents of a buffer */